package com.qiguliuxing.dts.admin.listener;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;
import com.qiguliuxing.dts.admin.dao.IordersTemplate;
import com.qiguliuxing.dts.admin.util.excel.core.ExcelListener;
import com.qiguliuxing.dts.admin.util.excel.core.ExcelResult;

import java.util.ArrayList;
import java.util.List;

public class IordersTemplateListener extends AnalysisEventListener<IordersTemplate> {

    private List<IordersTemplate> list = new ArrayList<>();


    @Override
    public void invoke(IordersTemplate iordersTemplate, AnalysisContext analysisContext) {
        list.add(iordersTemplate);
    }

    @Override
    public void doAfterAllAnalysed(AnalysisContext analysisContext) {
    }

    public List<IordersTemplate> getList() {
        return list;
    }
}
